package com.hyt.it.ogt.pj.data.model.entity.pj;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 题目表
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pj_paper_item")
@ApiModel(value="PaperItem对象", description="题目表")
public class PaperItem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "题目id（原来存在id上的）")
    private String topicId;

    @ApiModelProperty(value = "试卷id")
    private String paperId;

    @ApiModelProperty(value = "父题id")
    private String parentId;

    @ApiModelProperty(value = "父ids")
    private String parentCodes;

    @ApiModelProperty(value = "题目名称")
    private String itemName;

    @ApiModelProperty(value = "试题编号")
    private String itemCode;

    @ApiModelProperty(value = "是否复合题")
    private Boolean isComposite;

    @ApiModelProperty(value = "题目类型")
    private String itemType;

    @ApiModelProperty(value = "试题观点:true:客观,false:主观")
    private Boolean itemViewPoint;

    @ApiModelProperty(value = "题目级别:1:topic,2:item,3:option")
    private Integer itemLevel;

    @ApiModelProperty(value = "题干")
    private String itemStem;

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "分数")
    private BigDecimal score;

    @ApiModelProperty(value = "试题解析")
    private String analysis;

    @ApiModelProperty(value = "排序")
    private Integer orderNum;


}
